import { createApp } from 'vue'
import App from './App.vue'
import router from './router';
import { createPinia } from 'pinia';

// 重置样式表、图标
import './assets/css/normalize.css';
import './assets/css/theme/black.css';
import './assets/css/iconfont/iconfont.css';

// 引入vant
// import Vant from 'vant';;
import 'lib-flexible/flexible';
// import vant from 'vant';
// import 'vant/lib/index.css';
import { useVantUI } from './plugin/vant';

// pinia
const pinia = createPinia();

const app = createApp(App);
useVantUI(app);
app.use(pinia);
app.use(router);
app.mount('#app');
